package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaFinanceTravel;
import com.ruoyi.oa.domain.bo.OaFinanceTravelBo;
import com.ruoyi.oa.domain.vo.OaFinanceTravelVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import java.util.List;
import com.ruoyi.oa.domain.vo.OaProjectVo;

/**
 * 差旅费Mapper接口
 *
 * @author wangxq
 * @date 2023-05-18
 */
public interface OaFinanceTravelMapper extends BaseMapperPlus<OaFinanceTravelMapper, OaFinanceTravel, OaFinanceTravelVo> {
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaFinanceTravelVo> queryByCondition(OaFinanceTravelBo bo);


    /**
     * 获取没有采购流程的项目信息
     * @return
     */
    List<OaProjectVo> getProjectList();
}
